import React from "react"
import { Consumer } from "./father"

export default function Son() {
    return (
        <Consumer>{value => <div>{value.name}</div>}</Consumer>
    )
}